package com.chee.plant.hibernate.object;

import com.chee.plant.hibernate.object.base.BaseBox;

public class Box extends BaseBox {
	private static final long serialVersionUID = 1L;

	/* [CONSTRUCTOR MARKER BEGIN] */
	public Box() {
		super();
	}

	/**
	 * Constructor for primary key
	 */
	public Box(java.lang.Integer id) {
		super(id);
	}

	/**
	 * Constructor for required fields
	 */
	public Box(java.lang.Integer id, java.lang.Integer userId,
			java.lang.Integer coordX, java.lang.Integer coordY,
			java.lang.Integer medicineId, java.lang.Integer equipId,
			java.lang.Integer feedId, java.lang.Integer count) {

		super(id, userId, coordX, coordY, medicineId, equipId, feedId, count);
	}

	/* [CONSTRUCTOR MARKER END] */

	public void setDefaults() {
		this.setCoordX(0);
		this.setCoordY(0);
		this.setCount(0);
		this.setEquipId(0);
		this.setFeedId(0);
		this.setId(0);
		this.setMedicineId(0);
		this.setUserId(0);
	}
}